Clear
The Clear command
immediately clears any pending Play, Record and Speak
commands and removes any pending keys from the input queue.
Parameters
Remarks
Example
:MAIN
answer 1
;...........
;...........
;...........
; Getting data from the live web site will take some time.
; So keep the caller busy with this music
play "music.wav"
//Connecting web site
$status = http("http://www.kitco.com/market/")
// stop the music and continue IVR
clear
if $status != 1
; Error connecting to website
play "weberror.wav"
goto QUIT
endif
;...........
;...........